Interface LoopbackManager

All Superinterfaces:
IPCObject, Process
All Known Implementing Classes:
LoopbackManagerImpl

public interface LoopbackManager extends Process
Information provided by the PKI file:

    \class LoopbackManager
    
    \brief LoopbackManager is the process that manages loopback interfaces.
    
    \example network().getDevice("Router0").getProcess("LoopbackManager")
    
Author:
Auto-generated
  • Method Details

    • getLoopback

      RouterPort getLoopback(int loopbackNumber)
      Information provided by the PKI file:
      
          \brief Returns the loopback interface at the specified loopback interface number.
          
          \param loopbackNumber, the loopback interface number of interest.
          
          \return RouterPort, the RouterPort object at the specified loopback interface number.
          
              
      Parameters:
      loopbackNumber - Takes in a parameter of loopbackNumber
      Returns:
      RouterPort Returns a RouterPort
    • getLoopbackAt

      RouterPort getLoopbackAt(int index)
      Information provided by the PKI file:
      
          \brief Returns the loopback interface at the specified index.
          
          \param index, the index of the loopback interface of interest.
          
          \return RouterPort, the RouterPort object at the specified index.
          
              
      Parameters:
      index - Takes in a parameter of index
      Returns:
      RouterPort Returns a RouterPort
    • addLoopback

      boolean addLoopback(int loopbackNumber)
      Information provided by the PKI file:
      
          \brief Adds a loopback interface with the specified loopback interface number.
          
          \param loopbackNumber, the loopback interface number.
          
          \return bool, true if successful, otherwise false.
          
              
      Parameters:
      loopbackNumber - Takes in a parameter of loopbackNumber
      Returns:
      boolean Returns a boolean
    • removeLoopback

      boolean removeLoopback(int loopbackNumber)
      Information provided by the PKI file:
      
          \brief Removes the loopback interface with the specified loopback interface number.
          
          \param loopbackNumber, the loopback interface number of interest.
          
          \return bool, true if successful, otherwise false.
          
              
      Parameters:
      loopbackNumber - Takes in a parameter of loopbackNumber
      Returns:
      boolean Returns a boolean
    • getLoopbackCount

      int getLoopbackCount()
      Information provided by the PKI file:
      
          \brief Returns the number of loopback interfaces.
          
          \return int, the number of loopback interfaces.
          
              
      Returns:
      int Returns a int